<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="layui-form timo-compile">
    <form th:action="@{/system/company/save}">
        <input type="hidden" name="id" th:if="${company}" th:value="${company.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">主键ID</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="Id" placeholder="请输入主键ID" th:value="${company?.Id}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">企业标识</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="companyStatus" placeholder="请输入企业标识"
                       th:value="${company?.companyStatus}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">企业名称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="companyName" placeholder="请输入企业名称"
                       th:value="${company?.companyName}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">企业税号</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="companyNum" placeholder="请输入企业税号"
                       th:value="${company?.companyNum}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">渠道编号</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="channelKey" placeholder="请输入渠道编号"
                       th:value="${company?.channelKey}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">地区编码</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="areaCode" placeholder="请输入地区编码"
                       th:value="${company?.areaCode}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">企业地址</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="address" placeholder="请输入企业地址"
                       th:value="${company?.address}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">纳税人类型</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="taxpayerType" placeholder="请输入纳税人类型"
                       th:value="${company?.taxpayerType}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">开户银行</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="depositBank" placeholder="请输入开户银行"
                       th:value="${company?.depositBank}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">银行账户</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="bankAccount" placeholder="请输入银行账户"
                       th:value="${company?.bankAccount}">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea"
                          name="remark">[[${company?.remark}]]</textarea>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>